https://glot.io/snippets/gfcblmee58/raw/m1911.lua